﻿using System;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.Linq;
using System.Text;
using Uno.Extensions.Specialized;
using Windows.UI.Xaml.Markup;

namespace Windows.UI.Xaml.Documents
{
	[ContentProperty(Name = "Inlines")]
	public partial class Span : Inline
	{
#if !__WASM__
		public Span()
		{
			Inlines = new InlineCollection(this);
		}
#endif

		public InlineCollection Inlines { get; set; }

		protected override void OnStyleChanged()
		{
			if (Style == null)
			{
				base.Style = Style.DefaultStyleForType(typeof(Span));
				base.Style.ApplyTo(this);
			}
		}
	}
}
